import gg

def set_language(selector):
    global strings
    s='import lang.%s as lm'%selector
    exec s
    strings = lm.strings
    gg.language = selector

def localize(sname):
    return strings[sname]

set_language(gg.languaje)



